
import { ConfigJsonBase } from "./ConfigJsonBase";

export class Config_word extends ConfigJsonBase {
  public static NAME:string = "word"
 public id:number;
 public zh:string;
 public en:string;
 public static configList:Array<Config_word> = []
 public static json2Object(json: any) {
        for (const key in json) {
            let config:Config_word = new Config_word()
config.id = json[key]["id"];
config.zh = json[key]["zh"];
config.en = json[key]["en"];
 this.configList.push(config)
}
}
    
}
    